{% extends "light.twig" %}

{% block title %}: {{ vocab_id|upper }}{% endblock %}
{% block content %}
<div id="maincontent">
    <div id="vocab-info" class="col-lg-12">
      <div class="panel panel-primary">
        <div class="panel-heading">
          <span class="panel-title">{% trans "Vocabulary statistics" %}</span>
        </div>
        <div class="panel-body">
          <h3>{% trans "Concepts: " %} {{ vocab_stats.concepts }}</h3>
          <table class="vocab-statistics-table" id="statistics">
          <tr>
            <th></th>
            <th>{% trans %}Preferred terms{% endtrans %}</th>
            <th>{% trans %}Alternate terms{% endtrans %}</th>
            <th>{% trans %}Hidden terms{% endtrans %}</th>
          </tr>
          {% for lang,stats in vocab_stats['terms'] %}
          <tr>
            <th>{{ lang }}</th>
            <td>{{ stats['skos:prefLabel'] }}</td>
            <td>{{ stats['skos:altLabel'] }}</td>
            <td>{{ stats['skos:hiddenLabel'] }}</td>
          </tr>
          {% endfor %}
          </table>
        </div>
      </div>
    </div>
  </div>
</div>
{% endblock %}
